﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using DocumentManagement.ViewsModels;

namespace DocumentManagement.Views
{
    /// <summary>
    /// Interaction logic for ReportDocumentOutToDivision.xaml
    /// </summary>
    public partial class ReportDocumentOutToDivision : Window
    {
        ReportDocumentOutToDivisionViewsModel _reportDocumentOutToDivisionViewsModel;
        public ReportDocumentOutToDivision(int divisionid)
        {
            InitializeComponent();
            _reportDocumentOutToDivisionViewsModel = this.Resources["reportDocumentOutToDivisionViewsModel"] as ReportDocumentOutToDivisionViewsModel;
            _reportDocumentOutToDivisionViewsModel.MyTextDivisionID = divisionid;


        }

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
           // ShowSendDataGrid.Columns[11].
           // ShowSendDataGrid.Columns[11].CellStyle.Triggers.
            _reportDocumentOutToDivisionViewsModel.CheckTODivisionID();
        }
    }
}
